<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        img {width:100px;}
    </style>
</head>
<body>
<div>
    <table>
        <thead>
        <tr>
            <th>标题</th>
            <th>原价</th>
            <th>秒杀价</th>
            <th>库存</th>
            <th>图片</th>
            <th>详情</th>
        </tr>
        </thead>
        <tbody>
            <tr th:each="goods: ${goodsList}">
                <td th:text="${goods.goodsTitle}"></td>
                <td th:text="${goods.goodsPrice}"></td>
                <td th:text="${goods.miaoshaPrice}"></td>
                <td th:text="${goods.stockCount}"></td>
                <td><img th:src="@{${goods.goodsImg}}"></td>
                <!--<td><a th:href="'/goods/toGoodsDetail/'+${goods.id}">详情</a></td>-->
                <td><a th:href="'/html/'+${goods.id}+'.html'">详情</a></td>
            </tr>

        </tbody>

    </table>

</div>
</body>
</html>